/*
 * ObjectInstance - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
abstract class ObjectInstance extends Class50_Sub1_Sub4 {
	String aString1580;
	private int anInt1581 = -89;
	int anInt1582 = 100;
	int anInt1583;
	int anInt1584;
	int anInt1585;
	int[] anIntArray1586 = new int[10];
	int[] anIntArray1587 = new int[10];
	int anInt1588 = -1;
	int anInt1589;
	int anInt1590;
	boolean[] aBooleanArray1591 = new boolean[10];
	boolean aBoolean1592 = false;
	int anInt1593;
	int height = 200;
	int anInt1595 = -1000;
	int anInt1596;
	int anInt1597;
	int anInt1598;
	int anInt1599;
	int anInt1600 = 32;
	int anInt1601 = 1;
	int anInt1602;
	int anInt1603;
	int anInt1604;
	int anInt1605;
	int anInt1606;
	int anInt1607;
	int anInt1608;
	int anInt1609 = -1;
	int anInt1610;
	int anInt1611;
	int anInt1612;
	int anInt1613;
	int anInt1614 = -1;
	int anInt1615;
	int anInt1616;
	int anInt1617;
	int anInt1618;
	int anInt1619 = -1;
	int anInt1620 = -1;
	int anInt1621 = -1;
	int anInt1622 = -1;
	int anInt1623;
	int anInt1624 = -1;
	int anInt1625;
	int anInt1626;
	int anInt1627;
	int anInt1628;
	int anInt1629 = -1;
	int[] anIntArray1630 = new int[4];
	int[] anIntArray1631 = new int[4];
	int[] anIntArray1632 = new int[4];
	int anInt1633;
	int anInt1634 = -1;
	int anInt1635 = -1;

	public final void method575(int i) {
		(this).anInt1633 = 0;
		(this).anInt1613 = 0;
		if (i >= 0) {
			/* empty */
		}
	}

	public boolean method576(int i) {
		if (i != 0) {
			throw new NullPointerException();
		}
		return false;
	}

	public final void method577(boolean bool, int i, int i_0_) {
		if (i_0_ < 0) {
			int i_1_ = (this).anIntArray1586[0];
			int i_2_ = (this).anIntArray1587[0];
			if (i == 0) {
				i_1_--;
				i_2_++;
			}
			if (i == 1) {
				i_2_++;
			}
			if (i == 2) {
				i_1_++;
				i_2_++;
			}
			if (i == 3) {
				i_1_--;
			}
			if (i == 4) {
				i_1_++;
			}
			if (i == 5) {
				i_1_--;
				i_2_--;
			}
			if (i == 6) {
				i_2_--;
			}
			if (i == 7) {
				i_1_++;
				i_2_--;
			}
			if ((this).anInt1624 != -1
				&& (Sequence.sequences[(this).anInt1624].anInt306) == 1) {
				(this).anInt1624 = -1;
			}
			if ((this).anInt1633 < 9) {
				(this).anInt1633++;
			}
			for (int i_3_ = (this).anInt1633; i_3_ > 0; i_3_--) {
				(this).anIntArray1586[i_3_] = (this).anIntArray1586[i_3_ - 1];
				(this).anIntArray1587[i_3_] = (this).anIntArray1587[i_3_ - 1];
				(this).aBooleanArray1591[i_3_] = ((this).aBooleanArray1591[i_3_ - 1]);
			}
			(this).anIntArray1586[0] = i_1_;
			(this).anIntArray1587[0] = i_2_;
			(this).aBooleanArray1591[0] = bool;
		}
	}

	public final void method578(int i, boolean bool, int i_4_, int i_5_) {
		for (int i_6_ = 0; i_6_ < 4; i_6_++) {
			if ((this).anIntArray1632[i_6_] <= i) {
				(this).anIntArray1630[i_6_] = i_4_;
				(this).anIntArray1631[i_6_] = i_5_;
				(this).anIntArray1632[i_6_] = i + 70;
				return;
			}
		}
		if (bool) {
			anInt1581 = -52;
		}
	}

	public final void method579(int i, byte i_7_, boolean bool, int i_8_) {
		if ((this).anInt1624 != -1 && (Sequence.sequences[(this).anInt1624].anInt306) == 1) {
			(this).anInt1624 = -1;
		}
		if (!bool) {
			int i_9_ = i_8_ - (this).anIntArray1586[0];
			int i_10_ = i - (this).anIntArray1587[0];
			if (i_9_ >= -8 && i_9_ <= 8 && i_10_ >= -8 && i_10_ <= 8) {
				if ((this).anInt1633 < 9) {
					(this).anInt1633++;
				}
				for (int i_11_ = (this).anInt1633; i_11_ > 0; i_11_--) {
					(this).anIntArray1586[i_11_] = ((this).anIntArray1586[i_11_ - 1]);
					(this).anIntArray1587[i_11_] = ((this).anIntArray1587[i_11_ - 1]);
					(this).aBooleanArray1591[i_11_] = ((this).aBooleanArray1591[i_11_ - 1]);
				}
				(this).anIntArray1586[0] = i_8_;
				(this).anIntArray1587[0] = i;
				(this).aBooleanArray1591[0] = false;
				return;
			}
		}
		(this).anInt1633 = 0;
		(this).anInt1613 = 0;
		(this).anInt1623 = 0;
		(this).anIntArray1586[0] = i_8_;
		(this).anIntArray1587[0] = i;
		if (i_7_ == 5) {
		} else {
			for (int i_13_ = 1; i_13_ > 0; i_13_++) {
				/* empty */
			}
		}
		(this).anInt1610 = ((this).anIntArray1586[0] * 128 + (this).anInt1601 * 64);
		(this).anInt1611 = ((this).anIntArray1587[0] * 128 + (this).anInt1601 * 64);
	}
}
